import Vue from "vue";
import VueX from "vuex"

Vue.use(VueX);

// 引入小仓库
import home from "./home";
import search from "./search";

// 暴露
export default new VueX.Store({
    // 仓库模块化
    modules:{
        home,
        search
    }
});